
import {IsNotEmpty, IsString, MinLength, MaxLength, IsOptional, IsDate, Min, Max, ArrayNotEmpty,IsInt,IsNumber} from 'class-validator';
import { ApiErrorCode } from "../../common/enums/api-error-code.enum";
import { plainToClass,Exclude,Type } from 'class-transformer';

export class PayTest{
    
    @Type(()=>Number)
    @IsNotEmpty({ message: 'bId不能为空'})
    readonly total_fee: number;
    
    @IsNotEmpty({ message: 'bId不能为空'})
    readonly openid: string;
}